package com.atguigu.gulimall.ware.entity;

import lombok.Data;

@Data
public class TestWare {

    private Integer id;

    /**
    * 产品id
    */
    private String productId;

    /**
    * 数量
    */
    private Integer total;

    /**
    * 预留
    */
    private Integer use;

    /**
    * 剩余
    */
    private Integer residue;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getUse() {
        return use;
    }

    public void setUse(Integer use) {
        this.use = use;
    }

    public Integer getResidue() {
        return residue;
    }

    public void setResidue(Integer residue) {
        this.residue = residue;
    }
}